﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService
{
    public interface IInventoryLogService
    {
        /// <summary>
        /// 查询库存流水
        /// </summary>
        /// <param name="WarehouseId"></param>
        /// <param name="AreaId"></param>
        /// <param name="SourceType"></param>
        /// <param name="MaterialId"></param>
        /// <param name="StartTime"></param>
        /// <param name="EndTime"></param>
        /// <returns></returns>
        List<InventoryLog> GetInventoryflow(long WarehouseId, long AreaId, int SourceType,
            string? MaterialName, int pageIndex, int pageSize, out int totalCount);

        List<InventoryLog> GetInventoryMsgDown(int i);
        List<InventoryLog> InventorySnapshot(DateTime? startDate, DateTime? endDate, out int totalCount, int pageIndex, int pageSize);
    }
}
